; pascal OSErr SPBGetRecordingStatus(long inRefNum, short *recordingStatus, short *meterLevel, unsigned long *totalSamplesToRecord, unsigned long *numberOfSamplesRecorded, unsigned long *totalMsecsToRecord, unsigned long *numberOfMsecsRecorded)
; pascal OSErr SPBMillisecondsToBytes(long inRefNum, long *milliseconds)
;
IF ¨ GENERATINGCFM THEN
Macro
_SPBMillisecondsToBytes
move.l #$04400014,D0
dc.w $A800
EndM
ELSE
IMPORT_CFM_FUNCTION SPBMillisecondsToBytes
ENDIF
;
; pascal OSErr SPBBytesToMilliseconds(long inRefNum, long *byteCount)
;
IF ¨ GENERATINGCFM THEN
Macro
_SPBBytesToMilliseconds
move.l #$04440014,D0
dc.w $A800
EndM
ELSE
IMPORT_CFM_FUNCTION SPBBytesToMilliseconds
ENDIF
;
; pascal OSErr SetupSndHeader(SndListHandle sndHandle, short numChannels, UnsignedFixed sampleRate, short sampleSize, OSType compressionType, short baseNote, unsigned long numBytes, short *headerLen)
;
IF ¨ GENERATINGCFM THEN
Macro
_SetupSndHeader
move.l #$0D480014,D0
dc.w $A800
EndM
ELSE
IMPORT_CFM_FUNCTION SetupSndHeader
ENDIF
;
; pascal OSErr SetupAIFFHeader(short fRefNum, short numChannels, UnsignedFixed sampleRate, short sampleSize, OSType compressionType, unsigned long numBytes, unsigned long numFrames)
;
IF ¨ GENERATINGCFM THEN
Macro
_SetupAIFFHeader
move.l #$0B4C0014,D0
dc.w $A800
EndM
ELSE
IMPORT_CFM_FUNCTION SetupAIFFHeader
ENDIF
; Sound Input Manager 1.1 and later calls
;
; pascal OSErr ParseAIFFHeader(short fRefNum, SoundComponentData *sndInfo, unsigned long *numFrames, unsigned long *dataOffset)
;
IF ¨ GENERATINGCFM THEN
Macro
_ParseAIFFHeader
move.l #$07580014,D0
dc.w $A800
EndM
ELSE
IMPORT_CFM_FUNCTION ParseAIFFHeader
ENDIF
;
; pascal OSErr ParseSndHeader(SndListHandle sndHandle, SoundComponentData *sndInfo, unsigned long *numFrames, unsigned long *dataOffset)